package yun.web.test.pgmodel._public.base;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import yun.web.activerecord.Model;
import yun.web.activerecord.IBean;

/**
 * 由JFinal 自动生成, 最好别动这个文件, 想扩展请去子类玩~
 */
@SuppressWarnings({"serial", "unchecked"})
public abstract class BaseTestSimilarity<M extends BaseTestSimilarity<M>> extends Model<M> implements IBean {
    public static String table_name = "t_test_similarity";

	//
	public M setId(Integer id) {
		set("id", id);
		return (M)this;
	}


	//
	@JSONField(name="id")
	public Integer getId() {
	    return getInt("id");
	}

	//
	public M setTxt(String txt) {
		set("txt", txt);
		return (M)this;
	}


	//
	@JSONField(name="txt")
	public String getTxt() {
	    return getStr("txt");
	}

	//
	public M setTsv(org.postgresql.util.PGobject tsv) {
		set("tsv", tsv);
		return (M)this;
	}


	//
	@JSONField(name="tsv")
	public org.postgresql.util.PGobject getTsv() {
	    return get("tsv");
	}

	//
	public M setTsvArraystring(String tsvArraystring) {
		set("tsv_arraystring", tsvArraystring);
		return (M)this;
	}


	//
	@JSONField(name="tsv_arraystring")
	public String getTsvArraystring() {
	    return getStr("tsv_arraystring");
	}

}